<#assign base = request.contextPath />
<!doctype html>
<html style="font-size:50px;" ng-app="app">
<head>
    <meta charset="utf-8">
    <title>红包</title>
    <meta name="viewport" content="initial-scale=1, maximum-scale=1, minimum-scale=1, width=device-width, user-scalable=no">
    <meta name="format-detection" content="telephone=no,email=no" />
    <link type="text/css" rel="stylesheet" href="${base}/css/double11draw.css" />
</head>
<body ng-controller="TurntablCtrl">
		<input type="hidden" id="stid" value="${storeId}"/ >
		<input type="hidden" id="redirecturl" value="${redirecturl}"/ >
    <div class="body">
        <div class="head-body">
            <div class="avatar">
                <img ng-src="{{picurl}}" />
            </div>
            <div class="rotate-body">
                <img id="rotateBody" class="pc" src="${base}/img/test.png" />
                <img id="plateBtn" class="rotate-btn" src="${base}/img/double11draw_rotate_btn.png" ng-click="luckydraw()" />
                <div class="lucky-list">
                  <div class="lucky-list-inner">
	                    <span class="lucky-item" ng-repeat="prize in prizes">
	                      <span class="name">恭喜:{{decodeURI(prize.mixNick).substring(0,1)}}**** </span>
	                      <span class="prize">抽中{{levelMap[prize.prizeLevel]}}等奖&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>
	                    </span>
                  </div>
                </div>
            </div>
        </div>
        <div class="btn-body">
            <div class="btn-border">
                <img src="${base}/img/btn_score.png" />
                <span>会员积分 | {{member.points[0].totalActivePoints || 0}}</span>
            </div>
            <div class="btn-border">
                <img src="${base}/img/btn_prize.png" />
                <span>我的奖品 | <a  href="${base}/prize/${storeId}">点击查询</a></span>
            </div>
        </div>
        <table class="table-btn">
            <tr>
                <td>
                   <div class="btn-border">
                        <img src="${base}/img/btn_score.png" />
                        <span>西门子会员积分 | {{member.points[0].totalActivePoints || 0}}</span>
                    </div>
                </td>
                <td>
                  <div class="btn-border">
                        <img src="${base}/img/btn_prize.png" />
                        <span>我的奖品 | <a href="${base}/prize/${storeId}">点击查询</a></span>
                    </div>
                </td>
            </tr>
        </table>
        <div class="article-body">
            <article>
                <h6>奖品设置</h6>
			            <p> 一等奖： 1888元      &nbsp;&nbsp;&nbsp;</p>
						<p>	二等奖： 888元     &nbsp;&nbsp;&nbsp; </p>
						<p>	三等奖： 西门子小工具盒3件套(勃兰匠记)   &nbsp;&nbsp;&nbsp; </p>
						<p>	四等奖： 西门子小八角壶5件套装 C2209（弓箭） &nbsp;&nbsp;&nbsp;</p>
						<p>	五等奖： 200积分 &nbsp;&nbsp;&nbsp; </p>
						<p>	六等奖： 100积分 &nbsp;&nbsp;&nbsp;</p>
                <p class="beizhu" style="padding-top:9pt;color:#b3661c">
		              抽奖规则：<br/>
								1）奖品（除五、六等奖）需12.6-12.12在西门子家电/厨卫天猫官旗店购买, 方可获得。<br/>
								2）活动期间每人可抽取两次，每次消耗100积分。<br/>
								3）红包将在顾客确认收货后7-15个工作日发放<br/>
								4）如退货需返还红包现金<br/>
								4 ) 12月18日在西门子家电会员中心首页公布中奖名单<br/>
								5）所有返现红包均仅用于本店购物返现营销所用<br/>

				</p>

            
            </article>
        </div>
        <footer>
               <a href="${redirecturl}">返回首页</a>
        </footer>
        <div class="alert hide">
		  <div class="alert-body">
			<h6>提示</h6>
			<img  src="${base}/img/alert.png" />
			<p >{{msg}}</p>
			<button>进店逛逛</button>
		  </div>
		</div>
		<div class="alert-error hide">
		  <div class="alert-body">
			<h6>提示</h6>
			<img  src="${base}/img/alert_error.png" />
			<p >{{msg}}</p>
			<button>确定</button>
		  </div>
		</div>
	
        <script type="text/javascript" src="${base}/js/lib/jquery.min.js"></script>
        <script type="text/javascript"  src="${base}/js/lib/jquery.rotate.min.js"></script>      
	    <script type="text/javascript" src="${base}/js/lib/angular.min.js"></script>
	    <script type="text/javascript" src="${base}/js/app/app.js"></script>
	    <script type="text/javascript" src="${base}/js/app/service/apiService.js"></script>
        <script type="text/javascript" src="${base}/js/app/controller/double11draw.js"></script>
        <script type="text/javascript"  src="${base}/js/lib/jquery.rotate.min.js"></script>
    </div>
</body>